﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Viettel.VOFFICE.Web.Models
{
    public class SystemMenu
    {
        public int id;
        public string data;
        public SystemMenuAttr attr;
        public List<SystemMenu> children;
        public SystemMenu()
        {
            this.children = new List<SystemMenu>();
        }
    }
    public class SystemMenuModel : BaseModel
    {
        public int id { get; set; }
        public string Name { get; set; }
        public int? ParentId { get; set; }
        public bool IsActive { get; set; }
        public bool IsShow { get; set; }
        public string Description { get; set; }
        public IList<SystemMenuModel> Children { get; set; } 
        public SystemMenuModel()
        {
            this.Children = new List<SystemMenuModel>();
        }
        public string NavigatorUrl { get; set; }
    }
    public class SystemMenuAttr
    {
        public int id;
        public string title;
    }
}